package com.google.agerasample.testapp;

import com.google.agera.Function;

class NoteGroupToID implements Function<NoteGroup, Long> {
    public static final NoteGroupToID INSTANCE = new NoteGroupToID();

    private NoteGroupToID() {}

    static NoteGroupToID noteGroupToID() {
        return INSTANCE;
    }

    @Override
    public Long apply(final NoteGroup input) {
        return input.getId();
    }
}
